.spec-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(163, 163, 163, 0.6);
  z-index: 1000000;

  .spec-and-numpad {
    width: 650px;
    height: 400px;
    display: flex;
    justify-content: center;
    flex-flow: row;
    background: #fff;
    box-shadow: 0 0 5px #aaa;
    padding: 20px 0;

    .spec-container {
      padding: 0 15px;
      margin: 0 2px;
      border-right: 1px solid #ccc;
      display: flex;
      flex-flow: column;
      justify-content: center;

      .selected {
        .spu {
          border-radius: 0;
          border-left: 3px solid #f5b93f;
          background: #e6e6e6;
          width: 270px;
        }
        .spec {
          border-radius: 0;
          border-left: 3px solid #34add8;
          background: #e6e6e6;
          width: 270px;
        }
      }
      .mt-s {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .left {
          width: 80px;
        }
        input {
          width: 160px;
          background: #fff;
        }
        textarea {
          width: 160px;
          resize: none;
        }
        .replace-unit{
          width: 1em;
        }
      }

      .former-price{
        width: 100%;
        padding: 0px;
        margin-bottom: 8px;
        button{
          padding: 2px;
          height: 22px;
          width: 90%;
          text-align: center;
          font-size: 14px;
          border: 1px solid $subthemeColor;
          color: #777777;
          background-color: #ffffff;
          border-radius: 4px;
          margin-bottom: 4px;
          &:hover {
            background-color: #f5f5f5;
          }
          &:active {
            background-color: #dddddd;
          }

        }
      }

    }
    .numpad-container {
      width: 300px;
      height: 300px;
      display: flex;
      justify-content: center;
    }
  }
}